package logic

import (
	"context"

	"dataservice/internal/svc"
	"dataservice/internal/types"

	"github.com/tal-tech/go-zero/core/logx"
)

type ShiciLogic struct {
	logx.Logger
	ctx    context.Context
	svcCtx *svc.ServiceContext
}

func NewShiciLogic(ctx context.Context, svcCtx *svc.ServiceContext) ShiciLogic {
	return ShiciLogic{
		Logger: logx.WithContext(ctx),
		ctx:    ctx,
		svcCtx: svcCtx,
	}
}

func (l *ShiciLogic) Shici(req types.ShiciRequest) (*types.ShiciItem, error) {

	it := types.ShiciItem{
		Title:    "titlesingal",
		SubTitle: "subtitle",
		Author:   "jmdvirus",
	}

	return &it, nil
}
